﻿

using System;
using System.ServiceModel;
using System.Runtime.Serialization;


namespace WCFModel.MessageContract
{
    /// <summary>
    /// 课程
    /// </summary>
    public class Course : SecEntity
    {
        /// <summary>
        /// 课程ID
        /// </summary>
        [MessageBodyMember]
        public Guid CourseId { get; set; }

        /// <summary>
        /// 课程名称
        /// </summary>
        [MessageBodyMember]
        public string Name { get; set; }

        /// <summary>
        /// 教师ID
        /// </summary>
        [MessageBodyMember]
        public Guid TeacherId { get; set; }
    }
}
